package com.seamtop.cuber.web.service;

import com.seamtop.cuber.common.metadata.TableMetaData;
import org.dom4j.Document;

import java.util.HashMap;
import java.util.List;

/**
 * Created by feng on 2015/9/26.
 */
public interface TableService {

    public List<TableMetaData> findTableList();

    public List<TableMetaData> findTruthTableList();

    public List<TableMetaData> findVirtualTableList();

    public void buildTableConfigFile(HashMap<String,TableMetaData> tableMetaDataMap) throws Exception;

    public Document transTruthTableMDataXml(HashMap<String,TableMetaData> tableMetaDataMap);

    public Document transVirtualTableMDataXml(HashMap<String,TableMetaData> tableMetaDataMap);
}
